package com.syezon.wifikey.enhance.config;

import com.syezon.android.base.utils.SPUtils;

public class EnhanceConfig {
    private static final String CONFIG_NAME = "wifi_config";
    private static final String PREFIX_ENHANCE = "enhance_";

    public static boolean isEnhanced(String ssid) {
        return SPUtils.getInstance(CONFIG_NAME).getBoolean(PREFIX_ENHANCE + ssid, false);
    }

    public static void setEnhance(String ssid, boolean isEnhance) {
        SPUtils.getInstance(CONFIG_NAME).put(PREFIX_ENHANCE + ssid, isEnhance);
    }
}
